<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>林允儿的旋转木马</title>
    <style>
        body {
            perspective: 2500px;
        }
        
        .box:hover {
            animation-play-state: paused;
        }
        
        .box {
            position: relative;
            width: 400px;
            height: 240px;
            margin: 200px auto;
            background-image: url(./林允儿1.jpg);
            background-repeat: no-repeat;
            background-size: cover;
            animation: neibu 10s linear infinite;
            /* animation: name duration timing-function delay iteration-count direction fill-mode; */
            transform-style: preserve-3d;
        }
        
        @keyframes neibu {
            100% {
                transform: rotatey(360deg);
            }
        }
        
        .box div {
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            background-image: url(./林允人2.jpg);
            background-repeat: no-repeat;
            background-size: cover;
        }
        /* @keyframes xiaohezi {
            100% {
                transform: rotate3d(1, 0, 1, 360deg);
            }
        } */
        
        .box div:nth-child(1) {
            transform: rotatey(50deg) translateZ(750px);
        }
        
        .box div:nth-child(2) {
            transform: rotatey(100deg) translateZ(750px);
        }
        
        .box div:nth-child(3) {
            transform: rotatey(150deg) translateZ(750px);
        }
        
        .box div:nth-child(4) {
            transform: rotatey(200deg) translateZ(750px);
        }
        
        .box div:nth-child(5) {
            transform: rotatey(250deg) translateZ(750px);
        }
        
        .box div:nth-child(6) {
            transform: rotatey(300deg) translateZ(750px);
        }
        
        .box div:nth-child(7) {
            transform: rotatey(350deg) translateZ(750px);
        }
    </style>
</head>
<div class="box">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>

<body></body>

</html>